﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Visit_Photo_Review.aspx.cs" MasterPageFile="~/MasterPage.master"
    Inherits="CallRoute_Visit_Photo_Review" %>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <title>照片回顾</title>
    <script language="javascript" type="text/javascript">
    function PopupSubmitDeny()
        {
            window.showModalDialog("Product_Select.aspx",'','width=100,height=100,left='+(screen.width-100)/2+',top='+(screen.height-100)/2+',center:yes;help:no;resizable:no;status:no;toolbar:no;')
        }
    </script>

</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <table id="wsd_inputtable">
            <tr>
                <td class="tabletitleCenter">
                    <asp:Label runat="server" ID="lblVisitHistoryMessage"></asp:Label>
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td width="100%" class="tabletitle">
                    图片类型:
                    <asp:DropDownList ID="ddlPhotoType" runat="server" Width="130" OnSelectedIndexChanged="ddlPhotoType_SelectedIndexChanged"
                        AutoPostBack="True">
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
        <table id="wsd_listtable" width="100%">
            <tr>
                <td style="width: 100%">
                    <asp:DataList runat="server" RepeatColumns="4" ItemStyle-HorizontalAlign="Center"
                        EmptyDataText="没有可显示的数据." RepeatDirection="Horizontal" RepeatLayout="Table" Width="100%"
                        ID="dlPhotos" OnItemDataBound="Unnamed1_ItemDataBound">
                        <ItemTemplate>
                            <a runat="server" id="anchor">
                                <asp:Image ID="img" runat="server" Width="80" Height="100" ImageUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem, "id")) %>' />
                                <br />
                                <asp:Label runat="server" ID="lblDate"><%# Eval("photo_date")%></asp:Label><br />
                                <asp:Label runat="server" ID="lblCustomer"><%# Eval("CUSTOMER_NAME")%></asp:Label>
                            </a>
                        </ItemTemplate>
                    </asp:DataList>
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td class="tabletitle" width="100%">
                    操作选项
                </td>
            </tr>
            <tr>
                <td class="buttonarea">
                    <asp:Button ID="btnResearch" runat="server" Text="重新搜索" CssClass="wsd_button2" 
                        onclick="btnResearch_Click"  />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
